package com.bnz.service;

import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;
import com.bnz.pojo.StudentVo;

import java.util.List;

public interface StudentService {

    List<Student> findAll();

    Student findById(int id);

    PageResult<Student> findPage(Integer page, Integer pageSize);

    PageResult<Student> search(Integer page, Integer pageSize, StudentVo vo);

    void add(Student student);

    void update(Student student);

    void delete(String sid);

    List<Student> findByKeyword(String sname, String addr);

    List<Student> findAllss();

    /*void addstudent(Student student);*/
}
